<?php
/**
 * @author GhostWei
 * @date Oct 6, 2012
 */
class translator_response {
	
	protected $_error = null;
	/**
	 * @return translator_response
	 */
	public function setError($msg) {
		$this->_error = $msg;
		return $this;
	}
	public function getError() {
		return $this->_error;
	}
	
	protected $_result = null;
	/**
	 * @return translator_response
	 */
	public function setResult($result) {
		$this->_result = $result;
		return $this;
	}
	
	public function getResult() {
		return $this->_result;
	}
}
